import instance from "./request";
//登录接口

export const LoginApi=(data)=>instance.post('/login',data)


//获取列表接口

export const ListApi=()=>instance.get('/article/list')

//新增接口

export const addApi=(data)=>instance.post('article',data)

//搜索接口

export const searchApi=(keyword)=>instance.get('article/list',{
    params:{keyword}
})